import { createSSRApp } from "vue";
import App from "./App.vue";
import { createPinia } from 'pinia'  // 引入 Pinia
// ✅ 注册 Pinia
const pinia = createPinia()

export function createApp() {
  const app = createSSRApp(App); 
app.use(pinia)
  return {
    app,
  };
}

